﻿<Window x:Class="FNNClientApplication.NetworkActivityWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
        xmlns:local="clr-namespace:FNNClientApplication"
        xmlns:clientApplication="clr-namespace:FNNClientApplication"
        mc:Ignorable="d"
        Title="Активность сети" Height="700" Width="900" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75"></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition Width="75"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>            
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <Label Grid.Column="2" Grid.Row="0" Name="LblNetworkName" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18"></Label>
        <lvc:CartesianChart Name="MainChart" Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="3">
            <lvc:CartesianChart.Series>
                <lvc:LineSeries Values="{Binding SourceValues}" Title="Котировки" Opacity="0.5" PointGeometry="{x:Null}"></lvc:LineSeries>
                <lvc:ScatterSeries Values="{Binding BuyingValues}" Title="Покупка" PointGeometry="{x:Static lvc:DefaultGeometries.Diamond}" Fill="Green"></lvc:ScatterSeries>
                <lvc:ScatterSeries Values="{Binding SellingValues}" Title="Продажа" PointGeometry="{x:Static lvc:DefaultGeometries.Triangle}" Fill="Red"></lvc:ScatterSeries>
            </lvc:CartesianChart.Series>
            <lvc:CartesianChart.AxisX>
                <lvc:Axis Name="XAxis"></lvc:Axis>
            </lvc:CartesianChart.AxisX>
        </lvc:CartesianChart>
        <Label Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="15" Name="LblNetworkResultsTitle"></Label>
        <Label Grid.Column="1" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18" Name="LblNetworkResults"></Label>
        <Label Grid.Column="2" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="15" Name="LblNetworkOperationCountTitle"></Label>
        <Label Grid.Column="2" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18" Name="LblNetworkOperationCount"></Label>
        <Label Grid.Column="3" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="15" Name="LblNetworkResultsPercentTitle"></Label>
        <Label Grid.Column="3" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="18" Name="LblNetworkResultsPercent"></Label>
    </Grid>
</Window>
